package com.kuaidi100.sdk.request.cloud;

import com.kuaidi100.sdk.request.BaseRequest;
import com.kuaidi100.sdk.utils.SignUtils;

/**
 * @Author: api.kuaidi100.com
 * @Date: 2020-10-27 15:45
 */
public class CloudBaseReq extends BaseRequest {
    /**
     * 用户授权key
     */
    private String secret_key;
    /**
     * 接口编号
     */
    private String secret_code;
    /**
     * 加密签名：md5(secret_key+secret_secret)转大写
     */
    private String secret_sign;

    private String secret_secret;

    public String getSecret_key() {
        return secret_key;
    }

    public void setSecret_key(String secret_key) {
        this.secret_key = secret_key;
    }

    public String getSecret_code() {
        return secret_code;
    }

    public void setSecret_code(String secret_code) {
        this.secret_code = secret_code;
    }

    public String getSecret_sign() {
        return SignUtils.sign(secret_key+secret_secret);
    }

    public void setSecret_sign(String secret_sign) {
        this.secret_sign = secret_sign;
    }

    public String getSecret_secret() {
        return secret_secret;
    }

    public void setSecret_secret(String secret_secret) {
        this.secret_secret = secret_secret;
    }
}
